package com.zhisheng.gufei.produce.dao;

import java.util.List;

import com.zhisheng.core.dao.GenericDAO;
import com.zhisheng.core.page.Page;
import com.zhisheng.gufei.produce.entity.Declaration;

/**
 * @author xgye
 *
 */
public interface DeclarationDao extends GenericDAO<Declaration, Integer>{

	
	public Declaration saveDeclaration(Declaration dec);
	
	public Declaration getDeclarationById(Integer id);
	
	public List<Declaration> getDeclarationByCity(String areaCode);
	
	public List<Declaration> getAllDeclaration();
	
	public void removeDeclarationById(Integer id);
	
	public void getAuditPage(Page<Declaration> page,Integer audit);
	
	public void getCheckedPage(Page<Declaration> page ,String auditor);
}
